

package jp.team.nature.reizoukoapp;



import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;



public class MainActivity extends Activity {



        @Override
        protected void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.activity_main);
            Button btn1 = (Button) findViewById(R.id.button1);
            Button btn2 = (Button) findViewById(R.id.button2);
            Button btn3 = (Button) findViewById(R.id.buttonRecipe);

            btn1.setOnClickListener(new View.OnClickListener() {
    			@Override
    			public void onClick(View v) {
    				Intent intent = new Intent();
    				intent.setClassName("jp.team.nature.reizoukoapp", "jp.team.nature.reizoukoapp.NyuuryokuActivity");
    				startActivity(intent);
    			}
    		});

            btn2.setOnClickListener(new View.OnClickListener() {
    			@Override
    			public void onClick(View v) {
    				Intent intent = new Intent();
    				intent.setClassName("jp.team.nature.reizoukoapp", "jp.team.nature.reizoukoapp.ZaikoKakuninActivity");
    				startActivity(intent);
    			}
    		});

            btn3.setOnClickListener(new View.OnClickListener() {
				@Override
				public void onClick(View v) {
					Intent intent = new Intent();
					intent.setClassName("jp.team.nature.reizoukoapp", "jp.team.nature.reizoukoapp.RecipeFindActivity");
					startActivity(intent);
				}
			});
        }

}

